package com.sky.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("员工添加请求数据")
public class EmployeeDTO implements Serializable {
    @ApiModelProperty("x")
    private Long id;

    @ApiModelProperty(value = "用户名", required = true)
    private String username;

    @ApiModelProperty(value = "姓名", required = true)
    private String name;

    @ApiModelProperty(value = "手机号", required = true)
    private String phone;

    @ApiModelProperty(value = "性别 0女 1男", required = true)
    private String sex;

    @ApiModelProperty(value = "身份证号", required = true)
    private String idNumber;

}
